//
//  HSYPictureHelper.h
//  高仿暴走斗图
//
//  Created by huangsongyao on 16/3/4.
//  Copyright © 2016年 huangsongyao. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSUInteger, kWebImageSizeType) {
    
    kWebImageSizeTypeDone           = 0 ,       //默认尺寸
    kWebImageSizeTypeFifty          = 1 ,       //50x50尺寸
    
    kWebImageSizeTypeMax            = 100 ,     //最大尺度
};


typedef NS_ENUM(NSUInteger, kPlaceholderImageType) {
    
    kPlaceholderImageTypeAvatar     = 0 ,       //头像占位图
    kPlaceholderImageTypeFissionImg = 1 ,       //加载网络图片裂开的占位图
};

@interface HSYPictureHelper : NSObject

+ (instancetype)shareInstance;


+ (void)loadWebImageWithImageView:(UIImageView *)imageView
                              scr:(NSString *)scr
                          imgSize:(kWebImageSizeType)imgSize
             placeholderImageType:(kPlaceholderImageType)placeholderImageType;
@end
